﻿<?xml version="1.0" encoding="utf-8"?>
<hibernate-configuration  xmlns="urn:nhibernate-configuration-2.2" >
    <bytecode-provider type="lcg"/>
    <reflection-optimizer use="true"/>
    <session-factory name="NHibernate.Test">
        <property name="connection.connection_string">
            Database=semwiki_en;Data Source=127.0.0.1;User Id=root;Password=m8nix
        </property>
        <property name="connection.driver_class">NHibernate.Driver.MySqlDataDriver</property>
        <property name="connection.isolation">ReadCommitted</property>
        <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
        <property name="connection.release_mode">auto</property>
        <property name="default_schema">semwiki_en</property>
        <property name="dialect">NHibernate.Dialect.MySQLDialect</property>
        <property name="show_sql">false</property>
        <property name="cache.use_query_cache">true</property>
        <property name="cache.use_second_level_cache">true</property>
        <mapping file="Tballowed.hbm.xml"/>
        <mapping file="Tbwiki.hbm.xml"/>
        <mapping file="Tbpage.hbm.xml"/>
    </session-factory>
</hibernate-configuration>